package com.procurement.inquiry.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.api.domain.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 询报价需求对象 pcm_inquiry_demand
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class PcmInquiryDemand extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 询报价需求编号
     */
    private String inquiryDemandNumber;

    /**
     * 询价id
     */
    @Excel(name = "询价id")
    private Long inquiryId;

    /**
     * 询报价需求
     */
    @Excel(name = "询报价需求")
    private String inquiryDemand;

    /**
     * 报价截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报价截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quoteDeadline;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    /** 明细id */
    private Long detailId;

    /** 采购申请编号 */
    @Excel(name = "采购申请编号")
    private String purchaseRequestNumber;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNumber;


    /** 需求行号 */
    @Excel(name = "需求行号")
    private Long demandLineNumber;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private Long requiredQuantity;

    /** 期望到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "期望到货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedDeliveryDate;


    /** 需求行号状态 */
    @Excel(name = "需求行号状态")
    private Long demandLineStatus;

    /** 申请单id */
    @Excel(name = "申请单id")
    private Long requestId;

    @Excel(name = "期待供应商")
    private String supplierFullName;
    @Excel(name = "供应商状态")
    private Long supplierstates;
    private String productNumbera;
    private String productName;
    private Long unit;
    private List<PcmApplicationDetail> pcmApplicationDetailList;
    private SysUser userlist;

    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<PcmApplicationDetail> getPcmApplicationDetailList() {
        return pcmApplicationDetailList;
    }

    public void setPcmApplicationDetailList(List<PcmApplicationDetail> pcmApplicationDetailList) {
        this.pcmApplicationDetailList = pcmApplicationDetailList;
    }

    public String getProductNumbera() {
        return productNumbera;
    }

    public void setProductNumbera(String productNumbera) {
        this.productNumbera = productNumbera;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getSupplierFullName() {
        return supplierFullName;
    }

    public void setSupplierFullName(String supplierFullName) {
        this.supplierFullName = supplierFullName;
    }

    public Long getSupplierstates() {
        return supplierstates;
    }

    public void setSupplierstates(Long supplierstates) {
        this.supplierstates = supplierstates;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public String getPurchaseRequestNumber() {
        return purchaseRequestNumber;
    }

    public void setPurchaseRequestNumber(String purchaseRequestNumber) {
        this.purchaseRequestNumber = purchaseRequestNumber;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    public Long getDemandLineNumber() {
        return demandLineNumber;
    }

    public void setDemandLineNumber(Long demandLineNumber) {
        this.demandLineNumber = demandLineNumber;
    }

    public Long getRequiredQuantity() {
        return requiredQuantity;
    }

    public void setRequiredQuantity(Long requiredQuantity) {
        this.requiredQuantity = requiredQuantity;
    }

    public Date getExpectedDeliveryDate() {
        return expectedDeliveryDate;
    }

    public void setExpectedDeliveryDate(Date expectedDeliveryDate) {
        this.expectedDeliveryDate = expectedDeliveryDate;
    }


    public Long getDemandLineStatus() {
        return demandLineStatus;
    }

    public void setDemandLineStatus(Long demandLineStatus) {
        this.demandLineStatus = demandLineStatus;
    }

    public Long getRequestId() {
        return requestId;
    }

    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    public String getInquiryDemandNumber() {
        return inquiryDemandNumber;
    }

    public void setInquiryDemandNumber(String inquiryDemandNumber) {
        this.inquiryDemandNumber = inquiryDemandNumber;
    }

    public Long getInquiryId() {
        return inquiryId;
    }

    public void setInquiryId(Long inquiryId) {
        this.inquiryId = inquiryId;
    }

    public String getInquiryDemand() {
        return inquiryDemand;
    }

    public void setInquiryDemand(String inquiryDemand) {
        this.inquiryDemand = inquiryDemand;
    }

    public Date getQuoteDeadline() {
        return quoteDeadline;
    }

    public void setQuoteDeadline(Date quoteDeadline) {
        this.quoteDeadline = quoteDeadline;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public void setUserlist(SysUser userlist) {

        this.userlist = userlist;
    }

    public SysUser getUserlist() {
        return userlist;
    }
}